<template>
	<view>
		<!-- <uni-search-bar @confirm="search" :focus="true" @input="inputFn"  v-model="searchValue"  @change="change" @clear="clear"></uni-search-bar> -->
		
		
		<!-- 测试less语法 -->
	<!-- 	<view class="mine_box">
				<view class="littlebox">
					测试less
				</view>
		</view> -->

	<!-- 登录注册 -->
	<button @click="gotologinFn">跳转到登录页</button>
	

	</view>
</template>

<script>
	export default {
		data() {
			return {
				searchValue:''
			}
		},
		methods: {
			search(res){
				console.log(res.value);
			},
			change(res){
				console.log(res);
			},
			clear(res){
				console.log(res);
			},
			inputFn(res){
				console.log(res);
			},
			gotologinFn(){
				// 跳转到登录页
				uni.navigateTo({
					url:'/pages/login/login'
				})
			}
		}
	}
</script>

<style lang="less">
    .mine_box{
		view{
			font-size: 50rpx;
			color: red;
		}
	}
</style>
